From cd921f674626149575684bf4a49edea13a507a23 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 21 Jan 2003 14:24:50 +0000 Subject: [PATCH] icon is spelled sym, not icon. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@249 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/gpx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gpsbabel/gpx.c b/gpsbabel/gpx.c index 58452afa3..e9150c389 100644 --- a/gpsbabel/gpx.c +++ b/gpsbabel/gpx.c @@ -296,7 +296,7 @@ gpx_start(void *data, const char *el, const char **attr) else if (strcmp(el, "urlname") == 0) { in_urlname++; } - else if (strcmp(el, "icon") == 0) { + else if (strcmp(el, "sym") == 0) { in_icon++; } else if (strcmp(el, "groundspeak:type") == 0) { @@ -433,7 +433,7 @@ gpx_end(void *data, const char *el) in_url--; } else if (strcmp(el, "urlname") == 0) { in_urlname--; - } else if (strcmp(el, "icon") == 0) { + } else if (strcmp(el, "sym") == 0) { in_icon--; } else if (strcmp(el, "groundspeak:type") == 0) { in_gs_type--; @@ -690,7 +690,7 @@ gpx_waypt_pr(const waypoint *waypointp) } if (waypointp->icon_descr) { tmp_ent = gpx_entitize(waypointp->icon_descr); - fprintf(ofd, "%s\n", tmp_ent ); + fprintf(ofd, "%s\n", tmp_ent ); free(tmp_ent); } -- 2.30.2